<?php echo $this->doctype('XHTML1_STRICT'); ?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<?php 
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')
                 ->appendHttpEquiv('Content-Language', 'en-US');             
                 
echo $this->headMeta() . "\n";
$this->headTitle('FLV Slide');

echo "\n";
     
echo $this->headTitle() . "\n\n";

//$height = 500;
//$width  = 960;

$height = $this->screenHeight;
$width  = $this->screenWidth;

?>

</head>
<style>

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
}

body {
    overflow: hidden;
}

</style>
<body>
<div style="text-align: center; height: 100%;">
<script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/public/scripts/swfobject.js"></script>    

<object id="thisFlvPlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="flvPlayer" width="<?php echo $width; ?>" height="<?php echo $height; ?>">
    <param name="movie" value="<?php echo $this->baseUrl(); ?>/public/player.swf" />
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />

    <?php $this->volume = ($this->mute) ? 0 : $this->volume; ?>

    <param name="flashvars" value="file=<?php echo $this->url; ?>&controlbar=none&autostart=true&volume=<?php echo $this->volume; ?>" />
    <embed
        type="application/x-shockwave-flash"
        id="thisFlvPlayer" 
        name="flvPlayer" 
        src="<?php echo $this->baseUrl(); ?>/public/player.swf"  
        width="<?php echo $width; ?>" 
        height="<?php echo $height; ?>" 
        allowscriptaccess="always"  
        allowfullscreen="true" 
        flashvars="file=<?php echo $this->url; ?>&controlbar=none&autostart=true&volume=<?php echo $this->volume; ?>" 
    />
    </object>
</div>
</body>
</html>